package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevScreen;
import cn.sciento.farm.devicemanager.dao.model.ScreenForm;

import java.util.List;

public interface ScreenService {
    int create(ScreenForm screen);

    int updateById(ScreenForm screen);

    int deleteById(Long id);

    List<ScreenForm> getByAreaId(Long areaId);

    ScreenForm getById(Long id);

    int deleteByAreaId(Integer areaId);

    ScreenForm getByEui(String eui);
}
